package com.drama.api.sys.dramas.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class SysDramasVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "所属商户名称")
    private String companyName;
    @ApiModelProperty(value = "剧目编号")
    private String dramaRef;
    @ApiModelProperty(value = "剧目备案号")
    private String dramaNo;
    @ApiModelProperty(value = "剧目封面URL")
    private String dramaImg;
    @ApiModelProperty(value = "剧目名称")
    private String dramaName;
    @ApiModelProperty(value = "剧目数量（集数）")
    private Integer dramaNum;
    @ApiModelProperty(value = "备案信息表URL")
    private String dramaFilingsUrl;
    @ApiModelProperty(value = "授权材料表URL")
    private String dramaEmpowerUrl;
    @ApiModelProperty(value = "剧目状态(1 待审核 3待注入备案号  5待确认上线 7 已上线  8 已下线)")
    private String dramaState;
    @ApiModelProperty(value = "剧目片花URL")
    private String dramaUrl;
    @ApiModelProperty(value = "剧目免费数量")
    private Integer dramaFree;
    @ApiModelProperty(value = "剧目单价")
    private BigDecimal dramaPrice;
    @ApiModelProperty(value = "最新提审时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date scheduleDate;
    @ApiModelProperty(value = "当前流程进度1 剧目提交2 剧目审核3 平台转码4 发起线上申请5 剧目上线 6 全部完成")
    private Integer dramasSchedule;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;


    @ApiModelProperty(value = "剧目出品方")
    private String dramaProducer;
    @ApiModelProperty(value = "剧目版权到期时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date dramaDateExpire;
    @ApiModelProperty(value = "剧目版权到期状态1已到期 2未到期")
    private Integer dramaExpireState;
}